In the last lesson we covered
- How to move filters in the filter list
- How to remove filters from the filter list
- How to disable filters.
In this lesson we'll look at
Before we begin, open the filter called 'tutorial\lesson4.fll'
Adding files
(Note - if you're using TextPipe for askSam, you won't be able to add files.
Please try the
askSam
tutorial online, or go to the next lesson).
So far we've just been processing text that's held in TextPipe's Trial
Run Area. Now we want to get it to work on some real files, so let's see
exactly how we do this:
- Open Windows Explorer
- Display the folder 'C:\Program Files\TextPipe'
- Locate the file called 'tips.txt'
- Drag and drop the file from Explorer into TextPipe's filter window (with
the title 'Untitled..'). If
TextPipe's window is not currently visible, drag (and hold the button down)
the file to the task bar area where it says 'TextPipe', pause for 2
seconds until TextPipe comes to the foreground, and then
drop the file into TextPipe's window
- TextPipe changes to show the Files
to Process tab, with the new file added
It's that easy to add a file or files - just drag and drop them from
Explorer.
To process the file:
- Click the Go button
- TextPipe displays the status
window
- TextPipe processes the file, and then plays a sound to let you know it has
finished
- Click on the Results tab
- Find the line in TextPipe's window (not in the Help) that says 'Output file [C:\Program Files\TextPipe\tips.txt]
Size: ...'
- Double click this line
- TextPipe opens NotePad to show you the output file.
You can see in the output file that all spaces have been converted to
underscore characters '_'. This is what the lesson4.fll filter file is designed
to do.
In the next lesson we'll look at
- Sub filters (filter cascades)
Exercise 4
- Modify the lesson4.fll file to replace the underscore characters '_' with
spaces, and change tips.txt back to how it was originally.
- Open the output file
and make sure it has spaces in it.
Tutorial Index
|